package cn.iocoder.yudao.module.nmkj.controller.admin.teamintroduce.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;

@Schema(description = "管理后台 - 团队介绍 Response VO")
@Data
@ExcelIgnoreUnannotated
public class TeamIntroduceRespVO {

    @Schema(description = "成员ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "31781")
    @ExcelProperty("成员ID")
    private Long id;

    @Schema(description = "头像", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("头像")
    private String avatar;

    @Schema(description = "姓名", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @ExcelProperty("姓名")
    private String name;

    @Schema(description = "身份", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("身份")
    private String identity;

    @Schema(description = "身份描述", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("身份描述")
    private String identityDescribe;

    @Schema(description = "排序权值")
    @ExcelProperty("排序权值")
    private Long sort;

    @Schema(description = "状态", example = "1")
    @ExcelProperty(value = "状态", converter = DictConvert.class)
    @DictFormat("zero_one_status") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private Integer status;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}